// src/store/mytable.js
import { defineStore } from 'pinia';

export const mysqlTableStore = defineStore('mysqlTable', {
  state: () => ({
    tableList: [],
  }),
  actions: {
    setData(new_data) {
      this.tableList = new_data
    },
  },
  persist: true  // 启用持久化
});
